package com.lianniu.web.baseService.user.dao;

import com.lianniu.web.baseService.user.model.Supply;

public interface ISupplyDao {
    /**
     * @Description:修改卖家信息
     * @param supply
     * @return
     */
	public int updateById(Supply supply);
	/**
	 * @Description: 添加卖家信息
	 * @param supply
	 * @return
	 */
	public int addSupply(Supply supply);
	
	 /**
	   * @Title: getSupplyById 
	   * @Description: 获取商家资料
	   * @param id
	   * @return: SupplyVo
	   */
	  public Supply getSupplyById(/*@Param("id")*/String id);
	  
	  public Supply selectByUsersId(String id);
	  
	  public int updateSupplyByUserId(String userId);
}
